<?php
/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2019/7/23
 * Time: 15:27
 */

use think\facade\Route;

Route::group('user', function () {
    Route::group('', function () {

    })->middleware('check');
})->prefix('user/')->middleware('sign');


Route::group(function (){
    Route::any('user/login/<s>/<id?>', 'login/<s>');
    Route::any('gettoken', 'login/gettoken');
})->middleware('sign', 1);



Route::any('test', 'Login/test');
